package com.game;

import com.blazegame.logging.Logger;
import com.blazegame.logging.LoggerFactory;
import com.blazemina.BlazeminaServer;
import com.blazemina.config.BlazeminaConfig;
import com.blazemina.config.BlazeminaConfigManager;
import com.blazemina.core.GameBlazeminaConfig;


public class StartServer extends BlazeminaServer{
	

	/**
	 * @param args
	 */
	private static Logger logger = LoggerFactory.getLogger(StartServer.class);

	public static void main(String[] args) {
		StartServer server = new StartServer();
		server.start();
		int port = BlazeminaConfigManager.me().getSocketOption().getPort();
		logger.info("===============Server start============"+port);
		System.out.println("===============Server start success!!!!============");
	}

	@Override
	protected BlazeminaConfig configBlazemina() {
		return new GameBlazeminaConfig();
	}
	

}
